package com.smile.api;

import com.smile.commons.page.R;
import com.smile.model.request.AddShoppingRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "smile-plus-standalone-user"
        , contextId = "shopping",
        path = "/api/user")
public interface ShoppingApi {

    @PostMapping("/shopping/addShopping")
    R<Void> addShopping(@RequestBody AddShoppingRequest addShoppingRequest);

}
